projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e346c02
)
exif: Fix lat_ref/lon_ref handling.
author
oliskoli
<oliskoli>
Wed, 23 Apr 2008 07:49:47 +0000
(07:49 +0000)
committer
oliskoli
<oliskoli>
Wed, 23 Apr 2008 07:49:47 +0000
(07:49 +0000)
exif.c
patch
|
blob
|
history
diff --git
a/exif.c
b/exif.c
index 4f2bd781401e5afe7e3347845acbc099d2554ef2..9496a943d0e169ba4f10cd97ea92d1dc72a5ea63 100644
(file)
--- a/
exif.c
+++ b/
exif.c
@@
-319,7
+319,7
@@
exif_read_tags(const int ifd)
}
if (lat_ref == 'S') wpt->latitude *= -1;
- else
+ else
if (lat_ref != 'N') warning(MYNAME ": GPSLatitudeRef not set! Using N(orth).\n");
if (lon_ref == 'W') wpt->longitude *= -1;
else if (lon_ref != 'E') warning(MYNAME ": GPSLongitudeRef not set! Using E(east).\n");